package cpp

/*
#cgo CXXFLAGS: -std=c++11
#cgo LDFLAGS: -lstdc++
#include <stdlib.h>
#include "hello.hpp"
*/
import "C"
import "unsafe"

func Go_Cpp(s string) {
	cs := C.CString(s)
	defer C.free(unsafe.Pointer(cs))
	C.hello_from_cpp(cs)
}
